<?php

/**
 * PlanRada form.
 *
 * @package    dnevnik
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfPropelFormTemplate.php 10377 2008-07-21 07:10:32Z dwhittle $
 */
class PlanRadaForm extends BasePlanRadaForm
{
  public function configure()
  {
      $this->widgetSchema['profesor_id']->setOption('renderer_class', 'sfWidgetFormPropelJQueryAutocompleter');
      $this->widgetSchema['profesor_id']->setOption('renderer_options', array(
        'model' => 'Profil',
        'url'   => '/profesor/ajaxList',
        ));
  }
}
